include ../../mk/Makefile.root.include

PY_MODULE_PATH = ../py
PYC_MODULE_PATH = ../pybind

all: test lfs ctest

lfs: 
	$(HIDE)$(MAKE) -C $(PYC_MODULE_PATH)/fat

lfs_clean: 
	$(HIDE)$(MAKE) -C $(PYC_MODULE_PATH)/fat clean

test: 
	$(HIDE)export PYTHONPATH=$(PY_MODULE_PATH):$(PYTHONPATH) && python3 -m unittest -v

ctest: lfs
	$(HIDE)export PYTHONPATH=$(PYC_MODULE_PATH):$(PY_MODULE_PATH):$(PYTHONPATH) && python3 -m unittest -v

clean: lfs_clean
	$(DO_SO_CLEAN)

